/*
 * File: uMultiWordDivZero.c
 *
 * Code generated for Simulink model 'TABL'.
 *
 * Model version                  : 3.213
 * Simulink Coder version         : 9.4 (R2020b) 29-Jul-2020
 * C/C++ source code generated on : Thu Apr 28 14:14:16 2022
 */

#include "rtwtypes.h"
#include "MultiWordSetUnsignedMax.h"
#include "uMultiWord2MultiWord.h"
#include "uMultiWordDiv.h"
#include "uMultiWordDivZero.h"

void uMultiWordDivZero(const uint32_T u1[], int32_T n1, const uint32_T u2[],
                       int32_T n2, uint32_T y1[], int32_T m1, uint32_T y2[],
                       int32_T m2, uint32_T t1[], int32_T l1, uint32_T t2[],
                       int32_T l2)
{
    uMultiWord2MultiWord(u1, n1, t1, l1);
    uMultiWord2MultiWord(u2, n2, t2, l2);
    if (uMultiWordDiv(t1, l1, t2, l2, y1, m1, y2, m2) < 0)
    {
        MultiWordSetUnsignedMax(y1, m1);
    }
}

/*
 * File trailer for generated code.
 *
 * [EOF]
 */
